import './App.css'
import { Switch, Redirect, Route } from 'react-router-dom'

import Login from './views/login'
import Manage from './views/manage'
import Uploa from './views/upload'
import 'antd/dist/antd.css'

function App() {
	return (
		<div className="App">
			<Uploa />
			<Switch>
				<Route path={'/login'} component={Login}></Route>
				<Route path={'/manage'} component={Manage}></Route>

				<Redirect from={'/'} to={'/login'}></Redirect>
			</Switch>
		</div>
	)
}

export default App
